package org.edu.modules.stu.stu.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import org.edu.modules.stu.stu.entity.VeStuReward;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * dto-奖励信息表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class VeStuRewardDto extends VeStuReward {
    private static final long serialVersionUID = 1L;

    private  String typeName;

    @ApiModelProperty(value = "奖励级别")
    @Length(max = 20)
    private String level;

    @ApiModelProperty(value = "奖励属性;1个人2集体")
    private Integer attribute;

    @ApiModelProperty(value = "附件ID")
    private List<Integer> fileIds;

}
